home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 2: Applications / Linux Cubed Series 2 - Applications.iso / editors / emacs / xemacs / xemacs-1.004 / xemacs-1 / xemacs-19.13 / src / s / hpux9.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-08-04  |  1.6 KB  |  54 lines

  1. /* Synched up with: FSF 19.29. */
  2.  
  3. /* System description file for hpux version 9.  */
  4.  
  5. #include "hpux8.h"
  6.  
  7. #define HPUX9
  8.  
  9. /* If Emacs doesn't seem to work when built to use GNU malloc, you
  10.    probably need to get the latest patches to the HP/UX compiler.
  11.    See `etc/MACHINES' for more information.  */
  12. #if 0
  13. #define SYSTEM_MALLOC 1
  14. #undef GNU_MALLOC
  15. #undef REL_ALLOC
  16. #endif
  17.  
  18. #ifndef __GNUC__
  19. /* Make room for enough symbols, so dispnew.c does not fail.  */
  20. /* XEmacs: cognot@ensg.u-nancy.fr: C_SWITCH_SYSTEM already defined in hpux8.h,
  21.                            -D_BSD makes hp CC choke on process.c
  22. #define C_SWITCH_SYSTEM -Wp,-H200000 -D_BSD
  23. */
  24. #undef C_SWITCH_SYSTEM
  25. #define C_SWITCH_SYSTEM -Ae -Wp,-H100000
  26. /* XEmacs: commented out
  27. #else
  28. #define C_SWITCH_SYSTEM -D_BSD
  29. */
  30. #endif
  31.  
  32. /* neal@ctd.comsat.com */
  33. #define NO_TERMIO
  34.  
  35. /* According to ngorelic@speclab.cr.usgs.gov,
  36.    references to the X11R4 directoriess in these variables
  37.    (inherited from hpux8.h)
  38.    cause the wrong libraries to be found,
  39.    and the options to specify the X11R5 directories are unnecessary
  40.    since the R5 files are found without them.  */
  41. #undef LIB_X11_LIB
  42. #undef C_SWITCH_X_SYSTEM
  43. #undef LD_SWITCH_X_SYSTEM
  44. /* However, HPUX 9 has Motif includes in a strange place.
  45.    So search that place.  */
  46. /* XEmacs change: add X11R5, change LD_SWITCH_X_DEFAULT to
  47.    LD_SWITCH_X_SYSTEM.  #### Why do we need to make these changes? */
  48. #define C_SWITCH_X_SYSTEM -I/usr/include/X11R5 -I/usr/include/Motif1.2
  49. #define LD_SWITCH_X_SYSTEM -L/usr/lib/X11R5 -L/usr/lib/Motif1.2
  50.  
  51. /* XEmacs: apparently rint() is totally broken in HPUX 9. */
  52. #undef HAVE_RINT
  53.  
  54.